package com.keensense.vcm.model;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;


@XmlRootElement(name = "response")
public class OneVOneResponse extends BaseResponse {

    /**
     * 图片对比相似度
     */
    @XmlElement
    private double similarity;


    @XmlTransient
    public double getSimilarity() {
        return similarity;
    }

    public void setSimilarity(double similarity) {
        this.similarity = similarity;
    }
}
